package com.mrjy.live.bo;

import java.util.Map;

import com.mrjy.common.bo.IPaymentBo;
import com.mrjy.common.entity.WisPayment;
import com.mrjy.common.entity.UserInfo;
import com.tencent.protocol.pay_protocol.ScanPayResData;


public interface IWisPaymentBo extends IPaymentBo{
	//添加订单
	public Object addPayment(WisPayment wisPayment);
	
	//删除订单
	public Object deletePayment(WisPayment wisPayment);
	
	//查找订单
	public Object queryPayment(WisPayment wisPayment, UserInfo userInfo);
	
	//开始订单
	public Object beginPayment(WisPayment wisPayment, UserInfo userInfo);
	
	//提交订单
	public Object submitPayment(WisPayment wisPayment, UserInfo userInfo);

	public Object getPaymentByCode(String code);

	public Object validatePay(String code);

	public WisPayment returnUrl(Map<String, String> params, String out_trade_no,
			String trade_no, String trade_status, Float money);

	public String notifyUrl(Map<String, String> params, String out_trade_no,
			String trade_no, String trade_status, Float money);

	public String WXnotifyUrl(ScanPayResData scanPayResData);
	
	//订单信息
	public Map<String,Object> livePaymentList(WisPayment wisPayment);
	
	public WisPayment countBySchoolMoney(WisPayment wisPayment);
}
